<?php echo $this->Session->flash(); ?>

<table width="100%" id="tabla" >
    <thead>
        <tr>
            <th>Id</th>
            <th>Actividad</th>
            <th>Calificación crédito</th>
            <th>Concepto crédito</th>
            <th colspan="1"></th>

        </tr>
    </thead>
    <tbody>
        <?php foreach ($lineas as $linea): ?>
            <tr>
                <td><?php echo $linea['ProductiveLine']['id'] ?></td> 
                <td><?php echo $linea['ProductiveActivity']['nombre'] ?></td>
                <td><?php echo $linea['ProductiveLine']['credito_calificacion'] ?></td>
                <td><?php echo $linea['ProductiveLine']['credito_concepto'] ?></td>
                <td>
                    <?php
                    if ($linea['InitialEvaluation']['cerrado'] == 0)
                        echo $ajax->link('Editar', array('controller' => 'ProductiveLines', 'action' => 'credit_edit', $linea['ProductiveLine']['id'], $evaluation_id), array('class' => 'actions', 'update' => 'credito', 'indicator' => 'loading', 'escape' => false));
                    ?>
                </td>

            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<br>

